<h1>Task - edit</h1>
<%= form_tag :action => 'update', :id => @task.id%>


<table border="0"cellpadding="2" cellspacing="2">
  <tr>
    <td>
      <label for="user_id">
		User ID
      </label>
    </td>
    <td>
      : <%= text_field 'task','user_id', :value => @user_id,:size => 2, :disabled => true%>
    </td>
  </tr>

  <tr>
    <td>
      <label for="task_name">
		Task name
      </label>
    </td>
    <td>
      :<%= text_field 'task', 'task_name' %>
    </td>
  </tr>

  <tr>
    <td align="left">
      <label for="task_name">
		Task Description
      </label>
    </td>
    <td>
      &nbsp;<%= text_area '', '' %>
    </td>
  </tr>

  <tr>
    <td>

    </td>
    <td align="right">
      <%= submit_tag "Save Changes" %>
    </td>
  </tr>



</table>

<br/><br/>
<%= link_to 'Back', {:action => 'list'} %>
